projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f37f18
)
Fix booting caused by recent thinko.
author
Ewan Mellor
<ewan@xensource.com>
Thu, 28 Dec 2006 15:00:15 +0000
(15:00 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Thu, 28 Dec 2006 15:00:15 +0000
(15:00 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index 54573d4f13277b22e1b5cb510c4b5d871678893f..3fb2bd0bb9f747c76010bfe231d6535d756d2364 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-1106,7
+1106,8
@@
class XendConfig(dict):
self['PV_kernel'] = sxp.child_value(image_sxp, 'kernel','')
self['PV_ramdisk'] = sxp.child_value(image_sxp, 'ramdisk','')
- if not self['PV_bootloader'] and self['PV_kernel']:
+ if not self['PV_bootloader'] \
+ and sxp.child_value(image_sxp, 'kernel', ''):
# We've set PV_kernel using the call above, so now we need to set
# PV_bootloader as well, otherwise we're going to do the wrong
# thing on reboot.